﻿namespace FinalPointSet.Model.Model.MockData
{
    /// <summary>
    /// 模拟数据的模板, 用于配置一些常用的场景
    /// </summary>
    public class MockParamTemplate
    {
        /// <summary>
        /// 排序值
        /// </summary>
        public int Sequence { get; set; } = 0;
        /// <summary>
        /// 模板名称
        /// </summary>
        public string Name { get; set; } = string.Empty;
        /// <summary>
        /// 模板值
        /// </summary>
        public string Value { get; set; } = string.Empty;
        /// <summary>
        /// 关键词
        /// </summary>
        public string Keyword { get; set; } = string.Empty;
        public MockParamTemplate() { }

        public MockParamTemplate(int sequence, string name, string value, string keyword)
        {
            Sequence = sequence;
            Name = name;
            Value = value;
            Keyword = keyword;
        }

        public override string? ToString()
        {
            return $"Sequence={Sequence},Name={Name},Value={Value},Keyword={Keyword}";
        }
    }
}
